package cn.edu.scau.cmi.dengzejun.chapter06;

public class Pillar {
	Geometry bottom;
	double height;
	Pillar (Geometry bottom,double height){
		this.bottom=bottom;
		this.height=height;
		return;
	}
	
	public double GetVolume() {
		return bottom.GetArea()*height;
	}
}
